<?php $this->load->view('home/html_head');?>
<?php
    $id = $this->_data['account_id'];
    $selected_race_setting = array(
        'table_name' => 'doggy_race',
        'key_field' => 'id',
        'value_field' => 'race_name',
        'init_data' => array('key'=>'','name'=>'(Select race)')
    );
    $selected_region_setting = array(
        'table_name' => 'animus_sub_region',
        'key_field' => 'id',
        'value_field' => 'name',
        'init_data' => array('key' => '','name'=>'(Select region)')
    );
?>
<!--END WRAPPER-TOP-->
        <div id="wrapper" align="center">
            <div id="contain" align="center">
            <img src="<?php echo base_url().'assets/css/'?>images/border_left.png" style="left:0px" class="contain_border"/>
                <img src="<?php echo base_url().'assets/css/'?>images/border_right.png" style="right:0px" class="contain_border"/>
        <div id="wrapper-banner" align="left">
            <div id="box_recherche" class="box" align="center">
                <img src="<?php echo base_url().'assets/css/'?>images/bgrtop_4.png" class="bgrtop"/>
                <img src="<?php echo base_url().'assets/css/'?>images/bgrbottom_4.png" class="bgrbottom"/>
                <div class="contenu">
                <div id="titre_login" >RECHERCHE RAPIDE</div>
                <table id="form_login" width="90%">
                    <?php echo form_open('home/search'); ?>
                        <tr>
                            <td width="10%">Sex</td>
                            <td><?php echo form_dropdown('sex',array(''=>'(Select sex)','f'=>'Female','m'=>'Male'),$selected_sex)?></td>
                        </tr>
                        <tr>
                            <td  width="10%">Race</td>
                            <td><?php echo form_dropdown('race',dropdown_data($selected_race_setting),$selected_race)?></td>
                        </tr>
                        <tr>
                            <td  width="10%">Region</td>
                            <td><?php echo form_dropdown('region',dropdown_data($selected_region_setting),$selected_region,'style="width:150px"')?></td>
                        </tr>
                        <tr>
                            <td></td>
                            <td colspan="2" align="left"><input class="submit" type="submit" name="submit" value="RECHERCHE" /></td>
                        </tr>
                        <?php echo form_close(); ?>
                </table>
                </div>
                 <!--END CONTENU-->
            </div>
       <!--END LOGIN-->
        <div id="banner" align="right">
            <div id="titre_banner">DOGY-FLIRT
        <p>Il s'adresse aux particuliers et <br/><br/>professionnels. Les annonces <br/><br/>sont vérifiées avant d'être publiées
            </p>
            <div align="center"><a href="<?php echo site_url('home/register');?>"><img border="0" src="<?php echo base_url().'assets/css/'?>images/inscription.png"  /></a>
            </div>
            </div>
        <!--END BANNER-->    
        </div>
        